package com.sharing.library.repository;

import com.sharing.library.entity.Book;
import org.springframework.stereotype.Repository;

/**
 * @author zhanghaixuan
 * @create 2018/3/17-下午1:47
 **/
@Repository
public interface BookRepository   extends ImoocRepository<Book> {

    int countByTypeId(String typeId);
}
